package com.excellence.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName collection
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Collection implements Serializable {
    /**
     * 收藏编号，主键自增
     */
    private Integer collId;

    /**
     * 用户编号
     */
    private Integer userId;

    /**
     * 知识库编号
     */
    private Integer knId;

    /**
     * 收藏时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;


}